#ifndef MODE_LIGHT_EFFECT_HANDLE_H
#define MODE_LIGHT_EFFECT_HANDLE_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>


#include "LOG.h"
#include "../arch_os.h"
#include "../Product_Config.h"

#define FADE_SPEED 5       //淡入淡出速度
extern LIGHT_EFFECT_T light_effect_config;

LIGHT_EFFECT_MODE get_light_effect_enum();
void set_light_effect_enum(LIGHT_EFFECT_MODE num);
LIGHT_EFFECT_MODE get_light_effect_last_enum();
void set_light_effect_last_enum(LIGHT_EFFECT_MODE num);
void set_light_wait(u8 wait);
u8 get_light_wait();
void set_light_len(u8 len);
u8 get_light_len();
u8 *get_light_buf();
//用于快速赋值 调用灯带库函数
void set_light_effect_config(u8 light_effect_ssp,u8 wait,u8 len,u8 *buf);



#endif